INCLUDES = -I$(top_builddir)/src 
CPPFLAGS = -D"_GLIBCXX_DEBUG=1"
CFLAGS = -g
CXXFLAGS = -g

check_PROGRAMS = tcp_echo 
check_PROGRAMS += tcp_echo_mt

tcp_echo_SOURCES = tcp_echo.cpp

tcp_echo_mt_SOURCES = tcp_echo_mt.cpp

LDADD = -lsparrow -lpthread -levent
LDFLAGS = -L$(top_builddir)/src/sparrow/.libs
LDFLAGS += -L$(top_builddir)/third-party/lib

tcp_echo_LDADD = $(LDADD)
tcp_echo_LDFLAGS = $(LDFLAGS)

tcp_echo_mt_LDADD = $(LDADD)
tcp_echo_mt_LDFLAGS = $(LDFLAGS)
